package com.demo.lengthFieldBasedFrameDecoder.demo1;

public class UserInfo {
    private int index;
    private String name;

    public UserInfo(final int index, final String name) {
        this.index = index;
        this.name = name;
    }

    public int getIndex() {
        return this.index;
    }

    public void setIndex(final int index) {
        this.index = index;
    }

    public String getName() {
        return this.name;
    }

    public void setName(final String name) {
        this.name = name;
    }
}
